package com.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pojo.Account;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AccountDao extends BaseMapper<Account> {
    @Select("select *from test2.tb_account where area_id=#{areaId}")
       public List<Account> selectAllByAreaIdAccounts(Integer areaId);
}
